package com.etc.RCCPU005.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.etc.RCCPU005.dao.ProductMapper;
import com.etc.RCCPU005.service.ProductService;

@Service
public class ProductServiceImpl  implements ProductService{
	
	@Autowired
	ProductMapper dao;
	
	@Override
	public List<Map> selectAllProducts() {
		
		return dao.selectAllProducts();
	}

	@Override
	public List<Map> selectAllProductsByType(String tid) {
		
		return dao.selectAllProductsByType(tid);
	}

}
